package com.lagou.Student;

public class StudentMessage {
    private Student student;

    public StudentMessage() {
    }

    public StudentMessage(Student student) {
        this.student = student;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "StudentMessage{" +
                "student=" + student +
                '}';
    }
}
